﻿
using OpenMms.Domain.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace OpenMms.Domain.Interface.User
{
    /// <summary>
    /// 会员首页接口
    /// </summary>
    public interface IHomeService
    {
        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <param name="usercode"></param>
        /// <returns></returns>
        Task<UserInforMations> GetInfo(string usercode);
        /// <summary>
        /// 查前五条公告
        /// </summary>
        /// <returns></returns>
        Task<SortedList<int, Notice>> GetNotices();
    }
}
